package com.wno704.intf.aspect;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName RequestCheck
 * @Description TODO
 * @Author wno704
 * @Date 2022/10/15 18:06
 * @Version 1.0
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestCheck {

    /**
     * 缓存 name
     * @return
     */
    String intfName();

    /**
     * 缓存 是否验证
     * @return
     */
    boolean check();

    /**
     * 提示
     * @return
     */
    String msg();
}
